//应写入腾讯地图的key
module.exports = {
  key: "W7CBZ-JO4WS-OTZO7-6SN3T-RPFOZ-F6FXV",
}
const curState ="prod";
const env={
  dev:null,  //开发环境配置
  prod: null, //生产环境配置
  local:null //本地开发配置
}

env.dev={
  debug:true,
  api_host:"http://192.168.0.103:8080/",
}

env.prod = {
  debug: false,
  api_host: "https://www.miaoshuwenhua.com/",
}

env.local = {
  debug: true,
  api_host: "http://localhost/api/",
}


const getConfig=()=>{  
  return env[curState];
}

module.exports = {  
  getConfig: getConfig
}